package com.xjscrm.console.chat.frame.send;

import com.xjscrm.console.chat.enums.ChatMsgType;
import com.xjscrm.console.chat.frame.dto.ChatSessionDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;

/**
 * @author mingyang.chen create in 2024/3/12 13:47
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel
public class SPullTalkSessionResultMsg extends SResultMsg {

    public SPullTalkSessionResultMsg() {
        this.setResultType(ChatMsgType.s_pull_talk_session.getCode());
        this.setResultTypeDesc(ChatMsgType.s_pull_talk_session.getDesc());
    }

    @ApiModelProperty("当前机器人关联的回话")
    private List<ChatSessionDTO> sessions = new ArrayList<>();
}
